Skip to main content

descending

Type

keyword

Summary

Used with the sort and sort container commands to sort in reverse order (from greater to less).

Syntax

descending

Description

Use the descending keyword to sort backwards.

The descending keyword reverses the normal sort order:

  • A descending text sort puts Z first, A last.
  • A descending numeric sort puts large numbers first, small numbers last.
  • A descending dateTime sort puts later times first, earlier times last.

Examples

sort marked cards descending by the name of this card
sort field 3 descending dateTime by item 2 of each

command: sort, sort container

glossary: command, keyword

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?